package com.msh.platform.elm.service;

import java.util.ArrayList;
import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.msh.platform.elm.entity.SellerInfo;

public interface SellerService {

	void saveSellerAndAcct(SellerInfo seller);
	void save(SellerInfo seller);
    SellerInfo getSeller(String phone,String password);
    SellerInfo findByPhone(String phone);
    Page<SellerInfo> findAll(Pageable pageable);
    SellerInfo getSeller(int id);
    Page<SellerInfo> findByStatus(String status,Pageable pageable);
    List<SellerInfo> findAllById(ArrayList<Integer> ids);
}
